Skip to content

Rebuild cached failures on proper workers #454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Erethon
Copy link
Contributor

@Erethon Erethon commented Jul 27, 2025

When a user triggers a rebuild for a cached failure, this runs on one of the SKIPPED_BUILDER_NAMES workers which I believe don't have a proper PATH and end up failing because the worker can't find the nix binary. You can see one such failed rebuild in the NGI buildbot here.

In order to keep the skipped builders setup as simple as possible, I've opted to add a trigger for a complete nix-eval in such cases (which should go to our regular builders). Running just nix-build could fail if drvs had been GC'ed (or I guess with multiple workers and not a singular cache).

I'm not sure if there's a better way to do this in buildbot, if there are better ideas let me know and I can try to implement them. The current implementation works in my testing.

@Erethon Erethon force-pushed the fix-cached-failures-rebuild branch from 332e27e to 2b4cd17 Compare July 28, 2025 00:13
@Erethon Erethon marked this pull request as ready for review July 28, 2025 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant